<script type="text/javascript">
	if (typeof(SearchIndex) != 'function'){
		var arr = <?= ($this->arrJsCss != '')?$this->arrJsCss:"''"?>;			
		loadfileJsCss(arr);
	}		
</script>
<?php echo $this->leftTree;?>
<div class = "have_tree">
	<form action="" method="POST" id="IndexDataFrm" name="IndexDataFrm" autocomplete="off">
		<!--Cac doi tuong hidden tren form-->
		<?php
			$check ='';
			echo $this->formHidden("hdn_current_page",$this->iCurrentPage,null);
			echo $this->formHidden("hdn_record_number_page",$this->iNumberRecordPerPage,null);
			echo $this->formHidden("typehdn","LEARNING",null);
			echo $this->formHidden("hdn_number",$this->iNumberRecordAll,null); 	
			echo $this->formHidden("TD03",'',null); 
			echo $this->formHidden("TD03name",'',null); 
			echo $this->formHidden('hdnpath','',null);	
			$arrConst = $this->arrConst;		
		?>
		<div class = "searh-fixed">
			<div class="search-container">										
				<div class = "sd">
					<div class="sd3">
								<input type="checkbox" name="type" id="type" checked="checked"/>
								<label class = "lbl_title normal_label" for="type">Tìm kiếm toàn bộ</label>
					</div>
					<div class = "sd1">
						<input type="text" value="" autocomplete="off" class="textbox" id = "TD18" name = "TD18">
					</div>
					<div class = "sd2">									
						<input type = "button" value = "Tìm kiếm" class = "link-button searchbtn" id = "searchbtn">
					</div>
				</div>
			</div>
			<div align="right" class="button-link-container">
					<div class="normal_title blc-left"><?=$this->titleBody;?></div>
					<div class="blc-right" style="padding-right: 3px;">
						<input id = "view" title = "Xem chi tiết" type="button" value="Xem chi tiết" class="link-button viewTraining" style="display:inline">
					</div>			
			</div>
			<div style="clear:both;"></div>
			<div align="left">
				<font class = "normal_label path"><span id="noidungxx"></span></font>
			</div>
			<!-- Action lien quan -->
            <div id="loadTreeUrl" class="breadcrumbs"></div>
		</div>	
		<!-- Màn hình danh sách -->
		<div id = "table-container"></div>
		<!--Hien thi trang can xem!-->
		<table class="table-page-number" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td class = "left-col small_label" valign="top">
					<small class="small_starmark" id = "sdocpertotal"></small>
				</td>
				<td class = "center-col" align="center" id = "generateStringNumberPage"></td>
				<td class = "right-col normal_label" id = "generateHtmlSelectBoxPage">Hiển thị <select class='textbox' id = 'cbo_nuber_record_page' name='cbo_nuber_record_page' optional='true' style='width:60' onChange='myRecord.changeNumberRowPerPageModal(this)'><?php 
					echo Efy_Library::_generateSelectOption($this->arrListItem, 'C_CODE', 'C_CODE', 'C_NAME', $this->arrListItem[0]);
				?></select>Hồ sơ/1 trang</td>
			</tr>
		</table>
		<div class="button-container">
				<!-- <input id = "print" title = "In" type="button" value="In" class="link-button print" style="display:inline"> -->
				<input id = "view" title = "Xem chi tiết" type="button" value="Xem chi tiết" class="link-button viewTraining" style="display:inline">
			</div>		
	</form>	
	<div id = "viewDatafrm"></div>
</div>
<script type="text/javascript">
	baseUrl = '<?=$this->baseUrl();?>';		
	var objXmlTemp = '';
	if(typeof(mySearchIndex) === 'undefined'){						
		mySearchIndex = new SearchIndex(baseUrl,'mtl','search','indexdata', objXmlTemp);			
	}else{					
		objXmlTemp = mySearchIndex.xmlData;			
		mySearchIndex = new SearchIndex(baseUrl,'mtl','search','indexdata',objXmlTemp);		
	}				
	$('#TD18').focus(function() {
		shortcut.remove('Enter');		
		shortcut.add("Enter",function() {
		mySearchIndex.ldmod();
		});
	});	
	urlPath = mySearchIndex.urlPath;	
	fixTitle();		
	mySearchIndex.ldmod();		
	$('#push-left-hide,#left-silebar').click(function(){
		reziseli();
	})
</script>
<style type="text/css">
.jstree-default a.jstree-search {
    color: #1A62B4;
    font-weight: bold;
}
</style>	